package com.qtfreet.musicuu.musicApi.MusicBean.eventbus;

import android.media.MediaPlayer;

/**
 * Created by prpr894 on 2017/10/29.
 * Description：
 */
public class MediaPlayerEventBean {
    public String type;
    public MediaPlayer mediaPlayer;
    public int percent;
    public int what;
    public int extra;
    public boolean isReDisplay;

    public MediaPlayerEventBean(String type, MediaPlayer mediaPlayer, boolean isReDisplay) {
        this.type = type;
        this.mediaPlayer = mediaPlayer;
        this.isReDisplay = isReDisplay;
    }

    public MediaPlayerEventBean(String type, MediaPlayer mediaPlayer) {
        this.type = type;
        this.mediaPlayer = mediaPlayer;
    }

    public MediaPlayerEventBean(String type, MediaPlayer mediaPlayer, int percent) {
        this.type = type;
        this.mediaPlayer = mediaPlayer;
        this.percent = percent;
    }

    public MediaPlayerEventBean(String type, MediaPlayer mediaPlayer, int what, int extra) {
        this.type = type;
        this.mediaPlayer = mediaPlayer;
        this.what = what;
        this.extra = extra;
    }
}
